package com.xh.bussiness.permission.service;

import com.xh.bussiness.permission.model.Function;
import com.xh.bussiness.permission.bean.request.FunctionRequest;
import com.xh.core.service.IBaseService;
import com.xh.core.bean.XhPage;

import java.util.List;

public interface IFunctionService extends IBaseService<Function> {


    /**
     * 分页查询功能
     * @param page
     * @param bean
     * @return
     */
    public XhPage queryFunctionPage(XhPage page, FunctionRequest bean);


    /**
     * 查询功能
     * @param bean
     * @return
     */
    public List queryFunction(FunctionRequest bean);


    /**
     * 新增功能
     * @param bean
     * @return
     */
    public  String addFunction(FunctionRequest bean);


    /**
     * 修改功能
     * @param bean
     * @return
     */
    public  String modifyFunction(FunctionRequest bean);


    /**
     * 删除功能
     * @param id
     * @return
     */
    public  String deleteFunction(String id);
}
